{extend name="public/common"} {block name="body"}


<style type="text/css">
	.l:hover{
		color: #fff;
		background-color: #636363;
		border-color: #636363;
		border-radius: 5px;
	}
	.radius:hover{
		color: #fff;
		background-color: #636363;
		border-color: #636363;
	}
	.btn-primary{
		color: #fff;
		background-color: #636363;
		border-color: #636363;
	}
</style>
<nav class="breadcrumb">
    <i class="Hui-iconfont">&#xe67f;</i>
   
    玩家管理
    <span class="c-gray en">&gt;</span>
    等级管理
    <a class="btn btn-success radius r"
      style="line-height: 1.6em; margin-top: 3px"
      href="javascript:location.replace(location.href);" title="刷新">
      <i class="Hui-iconfont">&#xe68f;</i>
    </a>
</nav>

 <div style="padding:20px;height:30px;">
  	
  	<div class="new_box">
<div class="cl pd-5 bg-1 bk-gray mt-20"> 
  <span class="l"><a style="" href="/admin/member/usclass_tj/usclass_tj" class="btn btn-primary radius">新增等级 </a></span>
</div>
<div class="page-container">
  <div id="tab-system" class="HuiTab">
    <div class="tabCon">
      <div class="mt-20">
        <table
          class="table table-border table-bordered table-bg table-hover table-sort table-responsive">
          <thead>
            <tr class="text-c">
              <th>ID</th>
              <th>等级名称</th>
              <th>等级人数</th>
              <th>返水百分比</th>
              <th>等级提升彩金</th>
              <th>充值赠送百分比</th>
              <th>提升等级充值量</th>
              <th>提升等级洗码量</th>
              <th>每月等级彩金</th>
              <th>投注最低金额</th>
              <th>操作</th>
            </tr>
          
          </thead>
          <tbody>
            {volist name="DL_LIST" id="DL"}
          
            <tr class="text-c">
              <td>{$DL.id}</td>
              <td>{$DL.class_name}</td>
              <td><a style="text-decoration:underline;" href="javascript:fav_alert('此等级人数详情','{:url(\'member/us_list\')}?us_class={$DL.id}');">{$DL.count}</a></td>
              <td>{$DL.fsbl}</td>
              <td>{$DL.dividend}</td>
              <td>{$DL.czzsbl}</td>
              <td>{$DL.czl}</td>
              <td>{$DL.xml}</td>
              <td>{$DL.mearmoney}</td>
              <td>{$DL.zxtzxd}</td>
              <td>
              		<a href='/admin/member/hyxiugai?DLUSER={$DL.id}' title="修改"><i class="Hui-iconfont">&#xe6df;</i></a>
                <!--   &nbsp;&nbsp;&nbsp;<a href='javascript:void(0);' onclick='delUserClass({$DL.id})' title="删除"><i class="Hui-iconfont">&#xe609;</i></a> -->
              </td>
              {/volist}
            </tr>
          
          </tbody>
        </table>
      </div>
    </div>
  </div>
</div>

</div>

  </div>

{/block}

{block name="js"} 

<script type="text/javascript">
$(function() {
  $('.skin-minimal input').iCheck({
    checkboxClass : 'icheckbox-blue',
    radioClass : 'iradio-blue',
    increaseArea : '20%'
  });
  $("#tab-system").Huitab({
    index : 0
  });
});

function delUserClass(id){
	//删除用户等级
	layer.confirm('删除等级后，与等级相关的会员与充值方案将全部受到影响，是否确定？', {
		  btn: ['确认','取消'] //按钮
		}, function(){
		  location.href='/admin/member/querenshanchu?USERN='+id
		});
}

function fav_alert(title,url){
	var index = layer.open({
		type: 2,
		title: title,
		area: ['90%', '90%'],
		content: url
	});
}
</script>
{/block}
 
